#ifndef _USB_APP_H
#define _USB_APP_H

#include <stdlib.h>
#include "string.h"
#include "x_debug.h"

#define USB_CDC_BUFF_SIZE   64

extern volatile uint8_t usb_cdc_rx_flag;
extern volatile uint32_t usb_cdc_rx_len;
extern uint8_t usb_cdc_rx_buff[USB_CDC_BUFF_SIZE];

void usb_cdc_receive(uint8_t *buff, uint32_t *len);
void usb_cdc_deal(uint8_t *buff, uint32_t len);

#endif
